package com.ydkj.a37e_mall.Classes.Model.Response;

import java.util.List;

/**
 * Created by hong on 2016/3/10.
 */
public class GetAddressCityResp {


    /**
     * errno : 000
     * errmsg :
         * result : {"data":[{"id":16069,"name":"福州市","code":3501},{"id":16278,"name":"厦门市","code":3502},{"id":16348,"name":"莆田市","code":3503},{"id":16412,"name":"三明市","code":3504},{"id":16572,"name":"泉州市","code":3505},{"id":16754,"name":"漳州市","code":3506},{"id":16924,"name":"南平市","code":3507},{"id":17077,"name":"龙岩市","code":3508},{"id":17219,"name":"宁德市","code":3509},{"id":47454,"name":"新增市","code":3510}],"total_page":"","current_page":"","total":"","access_token":""}
     */

    private String errno;
    private String errmsg;
    /**
     * data : [{"id":16069,"name":"福州市","code":3501},{"id":16278,"name":"厦门市","code":3502},{"id":16348,"name":"莆田市","code":3503},{"id":16412,"name":"三明市","code":3504},{"id":16572,"name":"泉州市","code":3505},{"id":16754,"name":"漳州市","code":3506},{"id":16924,"name":"南平市","code":3507},{"id":17077,"name":"龙岩市","code":3508},{"id":17219,"name":"宁德市","code":3509},{"id":47454,"name":"新增市","code":3510}]
     * total_page :
     * current_page :
     * total :
     * access_token :
     */

    private ResultEntity result;

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public String getErrno() {
        return errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public static class ResultEntity {
        private String total_page;
        private String current_page;
        private String total;
        private String access_token;
        /**
         * id : 16069
         * name : 福州市
         * code : 3501
         */

        private List<DataEntity> data;

        public void setTotal_page(String total_page) {
            this.total_page = total_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public String getTotal_page() {
            return total_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public String getTotal() {
            return total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public static class DataEntity {
            private int id;
            private String name;
            private int code;

            public void setId(int id) {
                this.id = id;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setCode(int code) {
                this.code = code;
            }

            public int getId() {
                return id;
            }

            public String getName() {
                return name;
            }

            public int getCode() {
                return code;
            }
        }
    }
}
